The C Programming Language

The C Programming Language

  • Downloads:5463
  • Type:Epub+TxT+PDF+Mobi
  • Create Date:2021-03-13 03:17:59
  • Update Date:2025-09-06
  • Status:finish
  • Author:Brian W. Kernighan
  • ISBN:0131103628
  • Environment:PC/Android/iPhone/iPad/Kindle

Summary

This book is meant to help the reader learn how to program in C。 It is the definitive reference guide, now in a second edition。 Although the first edition was written in 1978, it continues to be a worldwide best-seller。 This second edition brings the classic original up to date to include the ANSI standard。

From the Preface:
We have tried to retain the brevity of the first edition。 C is not a big language, and it is not well served by a big book。 We have improved the exposition of critical features, such as pointers, that are central to C programming。 We have refined the original examples, and have added new examples in several chapters。 For instance, the treatment of complicated declarations is augmented by programs that convert declarations into words and vice versa。 As before, all examples have been tested directly from the text, which is in machine-readable form。

As we said in the first preface to the first edition, C "wears well as one's experience with it grows。" With a decade more experience, we still feel that way。 We hope that this book will help you to learn C and use it well。

Download

Reviews

Fallacies_fallacies

I'm not new to programming, but I'm no expert either。 This book does say at the start that "some" programming knowledge is expected。 That is an understatement。 But the problem isn't how complicated the concepts are, the problem is one that plagues academia, and that is that the explanations aren't made with a focus on teaching, but rather with a focus on being so explicit in the explanations that it becomes robotic, as if the reader were a computer rather than someone learning about computers。 T I'm not new to programming, but I'm no expert either。 This book does say at the start that "some" programming knowledge is expected。 That is an understatement。 But the problem isn't how complicated the concepts are, the problem is one that plagues academia, and that is that the explanations aren't made with a focus on teaching, but rather with a focus on being so explicit in the explanations that it becomes robotic, as if the reader were a computer rather than someone learning about computers。 This is not teaching。 It almost feels like the goal is for the authors to show off how smart they are rather than to share their knowledge。 I read concepts that I already know and understand well from having learned them in other languages, and the wording is so convoluted that it makes these extremely familiar topics seem foreign。 They also have exercises throughout the book that are seemingly impossible to solve based just on the conents of the book, and there are no solutions to them。 You can find the solutions online, but there are no official solutions approved by the authors, so you have to try and deliberate whether other peoples solutions are logically sound, but if you're still learning the language, you're not really equipped to make that kind of judgement, so you'll waste a lot of time trying to undertstand the problems if you're unable to solve them on your own。 。。。more

Hamza Ali

Why use C?C was initially used for system development work, particularly the programs that make-up the operating system。 C was adopted as a system development language because it produces code that runs nearly as fast as the code written in assembly language。 Some examples of the use of C might be −C-coding learning A-C program can vary from 3 lines to millions of lines and it should be written into one or more text files with extension "。c"; for example, hello。 c。 You can use "vi", "vim" or any Why use C?C was initially used for system development work, particularly the programs that make-up the operating system。 C was adopted as a system development language because it produces code that runs nearly as fast as the code written in assembly language。 Some examples of the use of C might be −C-coding learning A-C program can vary from 3 lines to millions of lines and it should be written into one or more text files with extension "。c"; for example, hello。 c。 You can use "vi", "vim" or any other text editor to write your C program into a file。This tutorial assumes that you know how to edit a text file and how to write source code inside a program file。If you want to set up your environment for C programming language, you need the following two software tools available on your computer, (a) Text Editor and (b) The C Compiler。C-coding learning 。。。more

Kristina

the programmer's Bible the programmer's Bible 。。。more

Mai

I just couldn't bring myself to keep dragging myself through it once it became apparent that I was not enjoying reading it anymore, but it is good in the sense that it finally explained to me and pointed out specific reasons why I hate C! The only downside to the book itself I can find is that the variable names and coding style K&R use are sometimes confusing (for example, when coding their version of malloc, which is just pointer spaghetti)。 I just couldn't bring myself to keep dragging myself through it once it became apparent that I was not enjoying reading it anymore, but it is good in the sense that it finally explained to me and pointed out specific reasons why I hate C! The only downside to the book itself I can find is that the variable names and coding style K&R use are sometimes confusing (for example, when coding their version of malloc, which is just pointer spaghetti)。 。。。more

Lady

A work of beauty

Glenn Meyer

Still the best introduction to the C programming language, decades after it was written。 No time is wasted on programming tools, IDEs, debuggers, or text editors。 This is purely an introduction to the language。

Jacob Williams

A great example of how to write a solid programming language tutorial: not too shallow, numerous complete programs, lots of good exercises。 It's also a neat window into an earlier, very different time in the programming world。This sometimes still makes lists of "best books for learning C", and I'm giving it a mediocre rating simply to push back against that。 This book is older than I am; new versions of the language have been standardized three times since it was published, and the landscape of A great example of how to write a solid programming language tutorial: not too shallow, numerous complete programs, lots of good exercises。 It's also a neat window into an earlier, very different time in the programming world。This sometimes still makes lists of "best books for learning C", and I'm giving it a mediocre rating simply to push back against that。 This book is older than I am; new versions of the language have been standardized three times since it was published, and the landscape of computing in general has changed drastically too。 I was drawn to it out of historical interest, but if you just want to get a practical knowledge of C as efficiently as possible you should be looking for much more recent sources。 。。。more

Vanjko

Blueprint of how an introduction to a programming language should look like。

Tamer Ismail

😖

Hosein

I remember reading it when I was student。 It a nicely explained reference for C programming which makes it easy to understands for newbies。 Yet there are also some advance topics in it。

Imp

Good information on the language, but the code examples are horrendously outdated and use outdated, terrible programming practices。 If you wish to become an expert in C, I'd look elsewhere。That's about it, it's not a big book and it's not well served by a big review。 Good information on the language, but the code examples are horrendously outdated and use outdated, terrible programming practices。 If you wish to become an expert in C, I'd look elsewhere。That's about it, it's not a big book and it's not well served by a big review。 。。。more

Nazim

good。

Burak

Absolute classic。 Bible for any Computer Science freshman。

Jara

What a great book written by Dennis Ritchie !!! What a great writting proccess !!! Hats off !!! Any one who maybe a 12yr old guy or a 50yr old man can read this book and getting master in c language 。

Aaron Munger

Feels a bit outdated by using Pascal and fortran for their comparisons。 Good discussion of language features and idioms, but I would have liked more coverage of compilation and project structure。

Denis

A nice book

Samiur Khan

This gets the first ever Samiur stamp of approval。

Xinyu

So lucky I did read this book during the summer and started to audit classes using more serious language last winter。。。 Otherwise, this first project of the semester would be even more of a struggle。

Elijah Oyekunle

While I've written some C in the past, I needed a brush-up for my Graduate Operating Systems course this fall。Book is a classic! I'll definitely be revisiting soon。 While I've written some C in the past, I needed a brush-up for my Graduate Operating Systems course this fall。Book is a classic! I'll definitely be revisiting soon。 。。。more

Noel Wellington

This is a clear and concise C language textbook by the creators of the language。 Having read it, I was able to become self-sufficient in the development of production C code。

Dan Rachou

Great book covering more than just the C programming language。 It also gives you an introduction to basic computer science concepts like data structures and memory allocation。

Bryan Smith

This book is a clear, concise overview of C, but also of computing of the 70s and 80s, Unix, computer science, bits and bytes and language design。 It's easy to read as a book, and obviously an amazing reference。 Kernighan is a technical communicator without peer。 This book is a clear, concise overview of C, but also of computing of the 70s and 80s, Unix, computer science, bits and bytes and language design。 It's easy to read as a book, and obviously an amazing reference。 Kernighan is a technical communicator without peer。 。。。more

almina

the bible of computer science。

Goo

Only read the most simple parts。

Alex Eastman

Love this book。 It won’t go into incredibly advanced detail, but this is an amazing kickstart into the world of C。

Serial_experiments

На самом деле книга написана с учетом того что читатель уже знает языки, Фортран или Алгол-60, почти все ньюансы логики и математических обоснований опущены。

Bhekithemba Masondo

This review has been hidden because it contains spoilers。 To view it, click here。 I just want to know more about C Programming Language

Alexander

Everything you need to know to get started and more。

Luke Ingalls

Provides a decent overview of the C programming language。 I am glad I read through it once as examples are clear and I still learned things despite being familiar with C already。 I will continue to use it as a reference in the future。

Chris

Simply a must-read for any programmer who is either learning or dealing with the C language。 K&R bring many perspectives of C which, in my humble opinion, are fundamental to understanding C。